function loadjs(src) {
		document.write('<script src="'+src+'" type="text/javascript"><\/script>');
}

if (typeof(jaAddEvent) == 'undefined') {
	function jaAddEvent(obj, evType, fn){ 
	 if (obj.addEventListener){ 
		 obj.addEventListener(evType, fn, false); 
		 return true; 
	 } else if (obj.attachEvent){ 
		 var r = obj.attachEvent("on"+evType, fn); 
		 return r; 
	 } else { 
		 return false; 
	 } 
	}
}

if (typeof(MooTools) == 'undefined') {
loadjs ('modules/ja_newsflash/mootools.v1.1.js');
}
loadjs ('modules/ja_newsflash/ja-scroll.js');
